package com.sdb.docter.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sdb.common.annotation.Excel;
import com.sdb.common.core.domain.BaseEntity;

import java.util.Date;

public class Schedule extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @Excel(name = "Schedule ID")
    private Long scheduleId;

    @Excel(name = "Doctor ID")
    private Long doctorId;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "Date", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "Start Time", width = 30, dateFormat = "HH:mm:ss")
    private Date startTime;

    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "End Time", width = 30, dateFormat = "HH:mm:ss")
    private Date endTime;

    public Long getScheduleId() {
        return scheduleId;
    }

    public void setScheduleId(Long scheduleId) {
        this.scheduleId = scheduleId;
    }

    public Long getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(Long doctorId) {
        this.doctorId = doctorId;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }
}
